package backend.majiong.yaku.yaku;

import backend.MainGame;
import backend.majiong.Player;
import backend.majiong.yaku.AbstractYaku;
import backend.majiong.yaku.HandCombo;


public class Cyankan extends AbstractYaku {

    @Override
    public boolean checkYaku(Player player, HandCombo combo, MainGame mainGame) {
        return combo.getSpecialYakuFlag().isQiangGang();
    }

    @Override
    public String getYakuName() {
        return "抢杠";
    }

    @Override
    public Integer getYakuNum(boolean isMenQing) {
        return 1;
    }

}
